package com.yanqu.road.entity.activity.winterLove;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_u_activity_winter_love_user_data")
public class WinterLoveUserData extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", select = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前场次 1低级2高级")
    private int level;
    @FieldTypeAnnotation(desc = "拥有的美女祝福数量")
    private long blessing;
    @FieldTypeAnnotation(desc = "拥有的装饰物")
    private List<WinterLoveBagItem> decoration;
    @FieldTypeAnnotation(desc = "低级场盘面数据")
    private List<Integer> lowMapData;
    @FieldTypeAnnotation(desc = "低级场盘面奖励数据")
    private List<WinterLoveMapItem> lowRewardMapData;
    @FieldTypeAnnotation(desc = "低级场动物的位置")
    private List<WinterLoveMapAnimal> lowAnimalPosition;
    @FieldTypeAnnotation(desc = "高级场盘面数据")
    private List<Integer> highMapData;
    @FieldTypeAnnotation(desc = "高级场盘面奖励数据")
    private List<WinterLoveMapItem> highRewardMapData;
    @FieldTypeAnnotation(desc = "高级场动物位置")
    private List<WinterLoveMapAnimal> highAnimalPosition;
    @FieldTypeAnnotation(desc = "美女id")
    private int beautyId;
    @FieldTypeAnnotation(desc = "积分")
    private long score;
    @FieldTypeAnnotation(desc = "低级场轮次")
    private int lowTurn;
    @FieldTypeAnnotation(desc = "高级场轮次")
    private int highTurn;
    @FieldTypeAnnotation(desc = "送财次数")
    private int disperseTimes;

    // ========================================================================


    public int getDisperseTimes() {
        return disperseTimes;
    }

    public void setDisperseTimes(int disperseTimes) {
        if (this.disperseTimes != disperseTimes){
            this.disperseTimes = disperseTimes;
            setOp(DataStatus.Update);
        }
    }

    public int getLowTurn() {
        return lowTurn;
    }

    public void setLowTurn(int lowTurn) {
        if (this.lowTurn!=lowTurn){
            this.lowTurn = lowTurn;
            setOp(DataStatus.Update);
        }
    }

    public int getHighTurn() {
        return highTurn;
    }

    public void setHighTurn(int highTurn) {
        if (this.highTurn!=highTurn){
            this.highTurn = highTurn;
            setOp(DataStatus.Update);
        }
    }

    public int getActivityId() {
        return activityId;
    }
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public int getLevel() {
        return level;
    }
    public void setLevel(int level) {
        if (this.level != level) {
            this.level = level;
            setOp(DataStatus.Update);
        }
    }

    public long getBlessing() {
        return blessing;
    }
    public void setBlessing(long blessing) {
        if (this.blessing != blessing) {
            this.blessing = blessing;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveBagItem> getDecoration() {
        return decoration;
    }
    public void setDecoration(java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveBagItem> decoration) {
        if (null == decoration){
            return;
        }
        if (this.decoration == null || !this.decoration.equals(decoration)) {
            this.decoration = decoration;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<java.lang.Integer> getLowMapData() {
        return lowMapData;
    }
    public void setLowMapData(java.util.List<java.lang.Integer> lowMapData) {
        if (null == lowMapData){
            return;
        }
        if (this.lowMapData == null || !this.lowMapData.equals(lowMapData)) {
            this.lowMapData = lowMapData;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapItem> getLowRewardMapData() {
        return lowRewardMapData;
    }
    public void setLowRewardMapData(java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapItem> lowRewardMapData) {
        if (null == lowRewardMapData){
            return;
        }
        if (this.lowRewardMapData == null || !this.lowRewardMapData.equals(lowRewardMapData)) {
            this.lowRewardMapData = lowRewardMapData;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapAnimal> getLowAnimalPosition() {
        return lowAnimalPosition;
    }
    public void setLowAnimalPosition(java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapAnimal> lowAnimalPosition) {
        if (null == lowAnimalPosition){
            return;
        }
        if (this.lowAnimalPosition == null || !this.lowAnimalPosition.equals(lowAnimalPosition)) {
            this.lowAnimalPosition = lowAnimalPosition;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<java.lang.Integer> getHighMapData() {
        return highMapData;
    }
    public void setHighMapData(java.util.List<java.lang.Integer> highMapData) {
        if (null == highMapData){
            return;
        }
        if (this.highMapData == null || !this.highMapData.equals(highMapData)) {
            this.highMapData = highMapData;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapItem> getHighRewardMapData() {
        return highRewardMapData;
    }
    public void setHighRewardMapData(java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapItem> highRewardMapData) {
        if (null == highRewardMapData){
            return;
        }
        if (this.highRewardMapData == null || !this.highRewardMapData.equals(highRewardMapData)) {
            this.highRewardMapData = highRewardMapData;
            setOp(DataStatus.Update);
        }
    }

    public java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapAnimal> getHighAnimalPosition() {
        return highAnimalPosition;
    }
    public void setHighAnimalPosition(java.util.List<com.yanqu.road.entity.activity.winterLove.WinterLoveMapAnimal> highAnimalPosition) {
        if (null == highAnimalPosition){
            return;
        }
        if (this.highAnimalPosition == null || !this.highAnimalPosition.equals(highAnimalPosition)) {
            this.highAnimalPosition = highAnimalPosition;
            setOp(DataStatus.Update);
        }
    }

    public int getBeautyId() {
        return beautyId;
    }
    public void setBeautyId(int beautyId) {
        if (this.beautyId != beautyId) {
            this.beautyId = beautyId;
            setOp(DataStatus.Update);
        }
    }

    public long getScore() {
        return score;
    }
    public void setScore(long score) {
        if (this.score != score) {
            this.score = score;
            setOp(DataStatus.Update);
        }
    }


}
